/**
 * Project Name:xiaocao-java-basic
 * File Name:SealedInterfaceDemo.java
 * Package Name:top.wanzc.java.basic.jdk9.to17.feature
 * Date:2024年2月9日下午10:20:20
 * Copyright (c) 2024, zhengchong.wan@minicore.com.hk All Rights Reserved.
 *
*/

package top.wanzc.java.basic.jdk9.to17.feature;
/**
 * @className:SealedInterfaceDemo 
 * @comment: 注释信息 
 * @date:     2024年2月9日 下午10:20:20 
 * @author   zhengchong.wan
 * @since    V1.0.0	 
 */
sealed interface Flyable /*extends Serializable*/ permits Bird {
    
}
non-sealed class Bird implements Flyable{
    
}
public class SealedInterfaceDemo {

}

